package com.sansui.blog.pojo.sys;

import com.sansui.blog.common.SuperEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;
import java.util.List;

/**
 * @name: SysMenu
 * @author: Sansui
 * @Software: IDEA
 * @Blog: https://www.cnblogs.com/sansui6/
 * @date: 2022-07-31 20:03
 *
 * 后台菜单
 **/
@Data
@EqualsAndHashCode
@Accessors(chain = true)
public class SysMenu extends SuperEntity {
    private static final long serialVersionUID = 1L;

    //编号
    private String id;

    //父级ID
    private String parentId;

    //菜单名称
    private String menuName;

    //权限类型
    private String menuType;

    //菜单权限
    private String permission;

    //菜单路径
    private String menuPath;

    //菜单图标
    private String menuIcon;

    //打开方式
    private String openType;

    //菜单状态
    private Boolean menuStatus;

    //菜单排序
    private Integer menuSort;

    //面包屑
    private String crumbs;

    //删除状态
    private Boolean delFlag;

    //创建者
    private String createBy;

    //创建时间
    private Date createTime;

    //修改者
    private String modifyBy;

    //修改时间
    private Date modifyTime;

    //是否选中
    private Boolean checked = false;
    // 子节点
    private List<SysMenu> childrenItem;
}
